package scala.test_traits.multi_parameter

/**
 * @author 黄海峰 2021/4/17 23:25
 * */
trait Iterable[A] {
  def foldLeft[B](z: B)(op: (B, A) => B): B
}

/**
 * foldLeft applies a two-parameter function op to an initial value z
 * and all elements of this collection,
 * going left to right.
 */
